package entity;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(propOrder={"name","gender","department","date","idCard"})
public class PersonInfo{
	
	private String name;
	private String gender;
	private Department department;
	private String date;
	private String idCard;
	
	public PersonInfo(){
		super();
	}
	
	
	public PersonInfo(String name, String gender, Department department, String date, String idCard) {
		super();
		this.name = name;
		this.gender = gender;
		this.department = department;
		this.date = date;
		this.idCard = idCard;
	}
	@XmlElement(namespace="http://www.nju.edu.cn/schema",name="姓名")
	public String getName() {
		return name;
	}
	@XmlElement(namespace="http://www.nju.edu.cn/schema",name="性别")
	public String getGender() {
		return gender;
	}
	@XmlElement(namespace="http://www.nju.edu.cn/schema",name="部门")
	public Department getDepartment() {
		return department;
	}
	@XmlElement(namespace="http://www.nju.edu.cn/schema",name="生日")
	public String getDate() {
		return date;
	}
	@XmlElement(namespace="http://www.nju.edu.cn/schema",name="身份证号")
	public String getIdCard() {
		return idCard;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public void setDepartment(Department department) {
		this.department = department;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	
}
